home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Columbia Kermit
/
kermit.zip
/
newsgroups
/
misc.19990725-20000114
/
000194_news@columbia.edu _Thu Oct 14 09:25:52 1999.msg
< prev
next >
Wrap
Internet Message Format
|
2020-01-01
|
2KB
Return-Path: <news@columbia.edu>
Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30])
by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id JAA27953
for <kermit.misc@watsun.cc.columbia.edu>; Thu, 14 Oct 1999 09:25:52 -0400 (EDT)
Received: (from news@localhost)
by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id JAA21965
for kermit.misc@watsun.cc.columbia.edu; Thu, 14 Oct 1999 09:11:32 -0400 (EDT)
X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to <news> using -f
From: fdc@watsun.cc.columbia.edu (Frank da Cruz)
Subject: Opening a tty for exclusive access
Date: 14 Oct 1999 13:11:31 GMT
Organization: Columbia University
Message-ID: <7u4kq3$lea$1@newsmaster.cc.columbia.edu>
To: kermit.misc@columbia.edu
An interesting question came recently in the beta testing of
C-Kermit 7.0:
http://www.columbia.edu/kermit/ck70.html
How does one open a dialout (tty) device in QNX for exclusive
access? In other forms of UNIX we have the hideous UUCP
lockfile mechanism, but not in QNX.
A user who was testing Kermit on QNX tried out the "find a free
dialout device" script:
http://www.columbia.edu/kermit/ckscripts.html
ftp://kermit.columbia.edu/kermit/scripts/ckermit/getline
and it didn't work at all. User A could grab /dev/ser1, make a
call, and be carrying on a session, and user B could open the
same device while user A's session is active.
I assume that QNX must have some API for opening a device (or
file) for exclusive access, but I don't know what it is. Can
someone help?
Thanks!
Frank da Cruz
The Kermit Project
Columbia University